package com.lj.frame.file.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class FileConf {
    @ApiModelProperty(name = "文件配置类型")
    @TableId(type=IdType.INPUT)
    private String type;
    @ApiModelProperty(name = "存储空间名称")
    private String bucketName;
    @ApiModelProperty(name = "访问站点")
    private String endpoint;
    @ApiModelProperty(name = "自定义域名")
    private String domain;
    @ApiModelProperty(name = "存储区域")
    private String region;
    @ApiModelProperty(name = "链接密钥")
    private String accessKey;
    @ApiModelProperty(name = "链接密钥")
    private String secretKey;
    @ApiModelProperty(name = "是否HTTPS链接")
    private Boolean isHttps = true;
    @ApiModelProperty(name = "是否激活-同一时间只有一个存储可用")
    private Boolean isActive = false;
}
